﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AnimalCare.Model;

namespace AnimalCare.Service
{
    class OderItemService
    {
        public static void Insert(Oder_Item order)
        {
            using (var ctx = new AnimalCareDBEntities())
            {
                ctx.Oder_Item.AddObject(order);
                ctx.SaveChanges();
            }
        }
    }
}
